<template>
	<view>
		<view class="indexTop">
			<view class="imgBox">
				<image class="indexTopImg" :src="imgSrc" mode="widthFix"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "top",
		props:['imgSrc'],
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
	.indexTop {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: 88rpx;
		padding-top: 88rpx;

		.imgBox {
			width: 160rpx;
		}

		.indexTopImg {
			width: 148rpx;
		}
	}
</style>
